package com.study_online.service;

import com.study_online.domain.Order;
import com.study_online.domain.ResultInfo;

/**
 * @author 张天霸
 */
public interface OrderService {

    /**
     * 添加订单
     * @param order
     * @return
     */
    ResultInfo insert(Order order);

    /**
     * 修改订单为支付状态
     * @param orderNum
     * @param payTime
     * @param alipayNum
     * @return
     */
    ResultInfo updateStatus(String orderNum,String payTime,String alipayNum);
}
